package com.game79.musou.webapp.action;

public class HeroAction extends ActionBase {
	//kongfuId (Number): NaN
	//hero (null): null
	//scId (Number): NaN
	//number (Number): NaN
	private int level;
	private long scId;
	private long hsId;
	private String heroLabel;
	//  historyInfo (null): null;
	private boolean toSaveExp;
	private double toHeroId;
	private double fromHeroId;
	private int transferHeroExpConsumeType;
	
	public HeroAction trainHero(long heroId){
		super.setId(heroId);
		return this;
	}
	
	public HeroAction transferHeroExp(double fromHeroId, double toHeroId, int type){
		this.setFromHeroId(fromHeroId);
		this.setToHeroId(toHeroId);
		this.setTransferHeroExpConsumeType(type);
		return this;
	}
	
	public HeroAction viewHero(long heroId){
		super.setId(heroId);
		return this;
	}
	
	public HeroAction betterHero(long heroId){
		super.setId(heroId);
		return this;
	}
	
	public HeroAction abortHeroTraining(long heroId){
		super.setId(heroId);
		return this;
	}
	
	public HeroAction confirmHeroTraining(long heroId){
		super.setId(heroId);
		return this;
	}
	
	public HeroAction recruitHero(long heroId){
		this.setHsId(heroId);
		return this;
	}
	
	public HeroAction recruitActivityHero(String heroLabel){
		this.setHeroLabel(heroLabel);
		return this;
	}
	
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public boolean isToSaveExp() {
		return toSaveExp;
	}
	public void setToSaveExp(boolean toSaveExp) {
		this.toSaveExp = toSaveExp;
	}
	public long getScId() {
		return scId;
	}
	public void setScId(long scId) {
		this.scId = scId;
	}
	public long getHsId() {
		return hsId;
	}
	public void setHsId(long hsId) {
		this.hsId = hsId;
	}

	public double getToHeroId() {
		return toHeroId;
	}

	public void setToHeroId(double toHeroId) {
		this.toHeroId = toHeroId;
	}

	public double getFromHeroId() {
		return fromHeroId;
	}

	public void setFromHeroId(double fromHeroId) {
		this.fromHeroId = fromHeroId;
	}

	public int getTransferHeroExpConsumeType() {
		return transferHeroExpConsumeType;
	}

	public void setTransferHeroExpConsumeType(int transferHeroExpConsumeType) {
		this.transferHeroExpConsumeType = transferHeroExpConsumeType;
	}

	public String getHeroLabel() {
		return heroLabel;
	}

	public void setHeroLabel(String heroLabel) {
		this.heroLabel = heroLabel;
	}
}
